package com.eastfair.projectcore.service;

import com.eastfair.annotation.model.LoadService;
import com.eastfair.boot.service.SuperService;
import com.eastfair.projectcore.entity.Dictionary;

import java.util.List;

/**
 * <p>
 * 业务接口
 * 字典项
 * </p>
 *
 * @author ligang
 * @date 2021-11-01
 */
public interface DictionaryService extends SuperService<Dictionary>, LoadService {

    /**
     * 根据类型查询字典
     * @param type
     * @return
     */
    List<Dictionary> queryDict(String type);

    /**
     * 查询类型分组
     * @return
     */
    List<Dictionary> queryDictGroupType();
}
